import http from '../service/http'
// post请求
// 视频上传
export function upLoadFileAPI(params) {
  return http.post('user/uploadFile', params)
}
// 视频封面上传
export function uploadCoverAPI(params) {
  return http.post('user/uploadCover', params)
}
// 完整视频数据
export function publishVideoAPI(myId, params) {
  return http.post(`user/${myId}/publishVideo`, params)
}